package pt.mleiria.network.jms;

import java.util.Properties;

public class EnvLoader {

	public static Properties getProperties(final String url){
		Properties props = new Properties();
		props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
		props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
		props.setProperty("java.naming.provider.url", url);
		return props;
	}

	

}
